package com.molichuxing.gateway.bff.orders.entity.request.create;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 加购订单新增vo
 * 
 * @author zoumingyu
 * @date 2019年9月29日
 *
 */
@Data
public class OrderPurchasedCreateVo extends OrderCreateVo {
	private static final long serialVersionUID = 1221137463680626324L;

	@ApiModelProperty(value = "订单号", required = true)
	@NotNull(message = "订单号不能为空")
	private Long orderCode;

	@ApiModelProperty(value = "商品id", required = true)
	@NotNull(message = "商品id不能为空")
	private Integer goodsId;

	@ApiModelProperty(value = "里程包id", required = true)
	@NotNull(message = "里程包id不能为空")
	private Integer packageId;

	@ApiModelProperty(value = "车辆当前公里数", required = true)
	@NotNull(message = "车辆当前公里数不能为空")
	private Integer currentMileage;
}
